﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace _1_Interfaces.Models.Tables.Cjw
{
    /// <summary>
    /// 病人看病过程表
    ///</summary>
    [SugarTable("patientRecordList")]
    public class PatientRecordList
    {
        /// <summary>
        /// 看病记录id
        ///</summary>
        [SugarColumn(ColumnName="recordId" ,IsPrimaryKey = true ,IsIdentity = true  )]
         public int RecordId { get; set; }
        /// <summary>
        /// 病人Id 
        ///</summary>
         [SugarColumn(ColumnName="patientId"    )]
         public int PatientId { get; set; }
        /// <summary>
        /// 前台id(admin的id) 
        ///</summary>
         [SugarColumn(ColumnName="inquiryId"    )]
         public string InquiryId { get; set; }
        /// <summary>
        /// 前台就诊时间 
        ///</summary>
         [SugarColumn(ColumnName="inquiryTime"    )]
         public string InquiryTime { get; set; }
        /// <summary>
        /// 前台就诊描述 
        ///</summary>
         [SugarColumn(ColumnName="inquiryDesc"    )]
         public string InquiryDesc { get; set; }
        /// <summary>
        /// 前台就诊开药 
        ///</summary>
         [SugarColumn(ColumnName="inquiryMedicine"    )]
         public string InquiryMedicine { get; set; }
        /// <summary>
        /// 医生id(admin的id) 
        ///</summary>
         [SugarColumn(ColumnName="docId"    )]
         public string DocId { get; set; }
        /// <summary>
        /// 医生看病时间 
        ///</summary>
         [SugarColumn(ColumnName="docTime"    )]
         public string DocTime { get; set; }
        /// <summary>
        /// 医生描述 
        ///</summary>
         [SugarColumn(ColumnName="docDesc"    )]
         public string DocDesc { get; set; }
        /// <summary>
        /// 医生开药 
        ///</summary>
         [SugarColumn(ColumnName="docMedicine"    )]
         public string DocMedicine { get; set; }
        /// <summary>
        /// 科室id 
        ///</summary>
         [SugarColumn(ColumnName="departmentId"    )]
         public int? DepartmentId { get; set; }
        /// <summary>
        /// 病床id 
        ///</summary>
         [SugarColumn(ColumnName="sickBedId"    )]
         public int? SickBedId { get; set; }
        /// <summary>
        /// 入院时间 
        ///</summary>
         [SugarColumn(ColumnName="inHospitalTime"    )]
         public string InHospitalTime { get; set; }
        /// <summary>
        /// 护士id 
        ///</summary>
         [SugarColumn(ColumnName="nurseId"    )]
         public string NurseId { get; set; }
        /// <summary>
        /// 状态 1前台诊断中 2等待医生诊断 3医生诊断中 4办理住院中 5住院中 6已出院 
        ///</summary>
         [SugarColumn(ColumnName="state"    )]
         public int? State { get; set; }
        /// <summary>
        /// 出院时间 
        ///</summary>
         [SugarColumn(ColumnName="leaveHospitalTime"    )]
         public string LeaveHospitalTime { get; set; }
        /// <summary>
        /// 是否是转科的记录 0 不是转科的 是转科的就写上一个recordId 
        ///</summary>
         [SugarColumn(ColumnName="isTransfer"    )]
         public int? IsTransfer { get; set; }
        /// <summary>
        /// 出院描述 
        ///</summary>
         [SugarColumn(ColumnName="leaveHospitalDesc"    )]
         public string LeaveHospitalDesc { get; set; }
    }
}
